< previous page page_188 next page >

Page 188
0188-01.jpg
Figure 6.12
Program SubEdge2 uses multiple image subtraction to detect edges in all directions.
Example program Average, shown in Figure 6.13, demonstrates this technique. The program combines four noisy pictures of the same scene to produce a less noisy result.
Image Compositing
Image compositing is the process of combining parts of one image with parts of another. Compositing is used extensively in the motion picture and television industries to create spectacular visual effects.
Chapter 1 explains how to use the PaintPicture method's opcode parameter to overlay a source image onto a destination image. First, create a mask image that is black over the parts of the source image that you want to copy and white over the rest. Next, copy
0188-02.jpg
Figure 6.13
Program Average combines several noisy images of the
same scene to produce a cleaner image.

 
< previous page page_188 next page >